package com.yule.system.dao;

import com.yule.system.model.SystemDuty;
import com.yule.system.model.SystemDutyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SystemDutyDao {
    long countByExample(SystemDutyExample example);

    int deleteByExample(SystemDutyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SystemDuty record);

    int insertSelective(SystemDuty record);

    List<SystemDuty> selectByExample(SystemDutyExample example);

    SystemDuty selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SystemDuty record, @Param("example") SystemDutyExample example);

    int updateByExample(@Param("record") SystemDuty record, @Param("example") SystemDutyExample example);

    int updateByPrimaryKeySelective(SystemDuty record);

    int updateByPrimaryKey(SystemDuty record);
}